package edu.hrbu.trade01.util;

/**
 * @author 徐登宇
 */
public class ConstUtil {

    // 普通企业
    public static final int NOT_VIP = 0;
    // VIP企业
    public static final int IS_VIP = 1;

    // 企业图片
    public static final String PIC_FIRM = "firm";
    // 贸易图片
    public static final String PIC_COMMENCE = "commence";

    // 日志操作成功
    public static final String LOG_SUCCESS = "成功";
    // 日志操作失败
    public static final String LOG_ERROR = "失败";

    // 日志内容
    public static final String LOG_TITLE_SAVE = "新增";
    public static final String LOG_TITLE_UPDATE = "修改";
    public static final String LOG_TITLE_DEL = "删除";

    // 日志类型
    public static final String LOG_TYPE_FIRM = "企业管理";
    public static final String LOG_TYPE_PROFESSION = "业务管理";
    public static final String LOG_TYPE_NEWS = "新闻资讯管理";
    public static final String LOG_TYPE_SYS = "系统管理";

    // 登录凭证
    public static final String LOGIN_SESSION = "loginUser";

    public static final String BUYER_LOGIN_CODE = "login:code";
    public static final Long BUYER_LOGIN_CODE_TTL = 180L;
    public static final String BUYER_RANDOM_LOGIN_NAME_PRE = "Q_buyer_";


    private ConstUtil() {
    }

}
